package com.sikaryofficial.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sikaryofficial.backend.domain.dto.resp.AddressUserListDTO;
import com.sikaryofficial.backend.domain.entity.UserAddress;

import java.util.List;
import java.util.Map;

/**
 * 我的地址Service接口
 *
 * @author qinjinyuan
 * @date 2023-11-16
 */
public interface IUserAddressService extends IService<UserAddress> {

    List<AddressUserListDTO> getDefaultAddressList(List<Long> userIds);

    /**
     * 获取用户地址map集合
     *
     * @param userAddressIds
     * @return
     */
    Map<Long, AddressUserListDTO> getAddressListByIds(List<Long> userAddressIds);
}
